package com.bootdo.clouddo.utils.book;

public enum BookApi {

    HOME_GIRL("/v2/girl?", "女生-首页"),
    HOME_BOY("/v2/boy?", "男生-首页"),
    HOME_GIRL_KEY("/v2/girl/refresh?key=", "女生-首页-key"),
    HOME_BOY_KEY("/v2/boy/refresh?key=", "男生-首页-key"),
    DETAIL("/v2/book/detail?bookId=", "书籍详情"),
    MENU("/v2/book/catalogue", "书籍详情"),
    FRIEND_READ("/v2/book/friend/read?cateId=", "书籍详情"),
    CATEGORYS("/v2/category/list/", "分类"),
    LIST_BY_CAT("/v2/book/category", "根据分类查询"),
    SEARCH_MATCH("/v2/search/match?keyword=", "搜索"),
    SEARCH("/v2/search/book?keyword=", "搜索"),
    ;

    public String HOST = "http://xsapi.ynmfz.com";

    private String url;
    private String remark;

    BookApi(String url, String remark) {
        this.url = HOST + url;
        this.remark = remark;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
